<!--{include(pe_tpl('header.html'));}-->
<div class="huiyuan_content">
	<!--{include(pe_tpl('user_menu.html'));}-->
	<div class="fr huiyuan_main">
	<div class="order_view_tt mat10">退款信息</div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_view mat10">
	<tr>
		<td align="right" class="c888" width="80">订单编号：</td>
		<td>{$info['order_id']}</td>
	</tr>
	<tr>
		<td align="right" class="c888">退款编号：</td>
		<td>{$info['refund_id']}</td>
	</tr>
	<tr>
		<td align="right" class="c888">退款类型：</td>
		<td>{$ini['refund_type'][$info['refund_type']]}</td>
	</tr>
	<tr>
		<td align="right" class="c888">退款金额：</td>
		<td>¥ {$info['refund_money']}<span class="c999 mal5">（含运费{$info['refund_wl_money']}元）</span></td>
	</tr>
	<tr>
		<td align="right" class="c888">当前状态：</td>
		<td>
			<span class="mar20">{refund_stateshow($info['refund_state'])}</span>
			<!--{if(in_array($info['refund_state'], array('wcheck', 'refuse'))):}-->
			<a class="tag_org mar10" href="user.php?mod=refund&act=edit&id={$info['refund_id']}" onclick="return pe_dialog(this, '修改退款/退货申请', 600, 400)">修改申请</a>
			<a class="tag_gray mar10" href="javascript:pe_confirm('取消退款申请', 'user.php?mod=refund&act=close&id={$info['refund_id']}&token={$pe_token}');">取消申请</a>
			<!--{elseif($info['refund_state'] == 'wsend'):}-->
			<a class="tag_blue mar10" href="user.php?mod=refund&act=send&id={$info['refund_id']}" onclick="return pe_dialog(this, '填写退货单号', 600, 400)">填写单号</a>
			<a class="tag_gray mar10" href="javascript:pe_confirm('取消退款申请', 'user.php?mod=refund&act=close&id={$info['refund_id']}&token={$pe_token}');">取消申请</a>
			<!--{endif;}-->
		</td>
	</tr>
	</table>
	<!--{if($info['refund_type'] == 2 && $info['refund_address']):}-->
	<div class="shixian mat20"></div>
	<div class="order_view_tt mat20">退货信息</div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_view mat10">
	<tr>
		<td align="right" width="80">退货地址：</td>
		<td>{$info['refund_tname']}，{$info['refund_phone']}，{$info['refund_address']}</td>
	</tr>
	<tr>
		<td align="right">退货物流：</td>
		<td><!--{if($info['refund_wl_name']):}--><a href="{pe_url('order-kuaidi', 'id='.$info['refund_wl_id'])}" target="_blank" class="tag_kd">{$info['refund_wl_name']}：{$info['refund_wl_id']}</a><!--{else:}-->--<!--{endif;}--></td>
	</tr>		
	</table>
	<!--{endif;}-->
	<div class="shixian mat20"></div>
	<div class="order_view_tt mat20">商品信息</div>
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="order_view_list mat20">
	<tr>
		<td class="bgtt1" colspan="2">商品名称</td>
		<td class="bgtt1" width="100">单价</td>
		<td class="bgtt1" width="100">数量</td>
		<td class="bgtt1" width="150">商品优惠</td>
		<td class="bgtt1" width="100">小计</td>			
	</tr>
	<tr>
		<td style="border-right:0;width:60px"><a href="{pe_url('product-'.$info['product_id'])}" class="dingdan_img"><img src="{pe_thumb($info['product_logo'], 100, 100)}"></a></td>
		<td style="border-left:0;text-align:left;">
			<a href="{pe_url('product-'.$info['product_id'])}" target="_blank" class="dd_name">{$info['product_name']}</a>
			<p class="c888 mat5">{order_skushow($info['product_rule'])}</p>
		</td>
		<td><span class="font13">¥{$info['product_money']}</span></td>
		<td><span class="font13">{$info['product_num']}</span></td>
		<td>{order_jjmoney_show($v['product_jjmoney'])}</td>
		<td><span class="font13">¥{$info['product_allmoney']}</span></td>
	</tr>
	</table>
	<div class="order_view_tt" style="margin-top:30px">协商历史</div>
	<!--{foreach($refundlog_list as $v):}-->
	<div class="ls_box">
		<span class="fl ls_name"><!--{if($v['user_id']):}--><span class="cgreen">{$v['user_name']}</span><!--{else:}--><span class="corg">商家</span><!--{endif;}--></span>
		<span class="fr ls_time">{pe_date($v['refundlog_atime'])}</span>
		<div class="clear"></div>
		<div class="ls_info">{$v['refundlog_text']}</div>
	</div>
	<!--{endforeach;}-->
	</div>
</div>
<!--{include(pe_tpl('footer.html'));}-->